home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Halma 1.1.source Folder / Halma ƒ / Halma code ƒ / halma snow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-21  |  1.6 KB  |  54 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        halma snow.h
  4.  
  5. Purpose:    This is the header file for halma snow.c.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program in a file named "GNU General Public License".
  19. If not, write to the Free Software Foundation, 675 Mass Ave,
  20. Cambridge, MA 02139, USA.
  21.  
  22. \**********************************************************************/
  23.  
  24. #ifndef _SNOW_H_
  25. #define _SNOW_H_
  26.  
  27. #include "graphics.h"
  28.  
  29. enum snow_types
  30. {
  31.     snow_black=0x00,
  32.     snow_red,
  33.     snow_green,
  34.     snow_blue,
  35.     snow_cyan,
  36.     snow_magenta,
  37.     snow_yellow,
  38.     snow_white
  39. };
  40.  
  41. void InitTheSnow(void);
  42. void ShutDownTheSnow(void);
  43. Boolean SnowIsInitializedQQ(void);
  44. void SetSnowIter(void);
  45. void SnowIdle(WindowDataHandle theData);
  46. void DrawSnowflakeToScreen(WindowDataHandle theData, unsigned short thisX,
  47.     unsigned short thisY, enum snow_types c);
  48. enum snow_types SnowIsTouching(unsigned short thisX, unsigned short thisY);
  49. enum snow_types GetTheSnowPixel(unsigned short thisX, unsigned short thisY);
  50. void NewSnow(WindowDataHandle theData);
  51. void ResetSnow(void);
  52. void GetRidOfSnowflake(WindowDataHandle theData);
  53. #endif
  54.